import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';

import {SqlRoutingModule} from './sql-routing.module';
import {MySqlComponent} from './my-sql/my-sql.component';
import {NzFormModule} from "ng-zorro-antd/form";
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
import {NzInputModule} from "ng-zorro-antd/input";
import {NzSelectModule} from "ng-zorro-antd/select";
import {NzButtonModule} from "ng-zorro-antd/button";
import {NzTableModule} from "ng-zorro-antd/table";
import {BarnPipeModule} from "../../../../barn-pipe.module";
import {NzIconModule} from "ng-zorro-antd/icon";
import {SqlEditComponent} from './sql-edit/sql-edit.component';
import {NzPopconfirmModule} from "ng-zorro-antd/popconfirm";
import {NzDividerModule} from "ng-zorro-antd/divider";
import {NzModalModule} from "ng-zorro-antd/modal";
import {ProductProjectSelectionModule} from "../../../common-components/product-project-selection/product-project-selection.module";
import {ProjectSelectionModule} from "../../../common-components/project-selection/project-selection.module";
import { SqlManagementComponent } from './sql-management/sql-management.component';
import { SqlPreviewComponent } from './sql-preview/sql-preview.component';
import {NzDescriptionsModule} from "ng-zorro-antd/descriptions";
import {NzSpinModule} from "ng-zorro-antd/spin";
import {NzAlertModule} from "ng-zorro-antd/alert";
import { ExportSqlComponent } from './export-sql/export-sql.component';
import {NzCheckboxModule} from "ng-zorro-antd/checkbox";
import {NzInputNumberModule} from "ng-zorro-antd/input-number";


@NgModule({
  declarations: [MySqlComponent, SqlEditComponent, SqlManagementComponent, SqlPreviewComponent, ExportSqlComponent],
    imports: [
        CommonModule,
        SqlRoutingModule,
        NzFormModule,
        ReactiveFormsModule,
        NzInputModule,
        NzSelectModule,
        NzButtonModule,
        NzTableModule,
        BarnPipeModule,
        NzIconModule,
        NzPopconfirmModule,
        NzDividerModule,
        NzModalModule,
        ProductProjectSelectionModule,
        ProjectSelectionModule,
        NzDescriptionsModule,
        NzSpinModule,
        FormsModule,
        NzAlertModule,
        NzCheckboxModule,
        NzInputNumberModule
    ]
})
export class SqlModule {
}
